package com.szss.springbootfirst.service;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.szss.springbootfirst.entity.User;

import java.util.List;

public interface IUserService {

    public User login(User user);

    public String findDataFormRedis() throws JsonProcessingException;

    public void save(User user) throws JsonProcessingException;

    public String findById(String id) throws JsonProcessingException;

    public List<User> findAll();

    public User save2(User user);
}
